<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <style>
    
  </style>
</head>
<body>
  
</body>
<script src="./ajax.js"></script>
<script>

  // const url = "http://10.11.55.249:3000/login";
  const url = "https://www.wanandroid.com/banner/json";

  ajax({
    url: url,
    success: res=>{
      console.log(res);
    },
    error:(code)=>{
      console.log(code)
    }
  })
  
</script>
</html>